<template>
  <div class="noData" v-show="isShow" :style="{ paddingBottom: paddingBottom + 'px' }">
    {{ text }}
  </div>
</template>

<script setup lang="ts">
import utils from "@/utils";
const prop = defineProps({
  isShow: {
    type: Boolean,
    default: false,
  },
  text: {
    type: String,
    default: "没有更多数据了",
  },
  paddingBottom: {
    type: Number,
    default: utils.windowBottom + 10,
  },
});
</script>

<style lang="less" scoped>
.noData {
  padding: 28rpx;
  text-align: center;
  color: #999;
  font-size: 24rpx;
  background-color: transparent;
}
</style>
